<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('呼应详情')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 呼应-请求
                </div>
                <div class="panel-body">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">呼应标题：</label>
                            <div class="form-control-static" th:text="${request.hybt}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">提交人姓名：</label>
                            <div class="form-control-static" th:text="${request.tjrxm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">提交时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(request.tjsj,'yyyy-MM-dd HH:mm')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">请求内容：</label>
                            <div class="form-control-static" th:text="${request.hynr}">
                            </div>
                        </div>
                        <div th:each="photo : ${photo}" class="col-sm-4">
                            <div style="text-align: center;">
                                <img th:if="${photo}" th:src="@{'/sys/common/view/' + ${photo}}"
                                     style="height: 175px; width: auto;" alt="Request Image">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 呼应-回复
                </div>
                <div th:each="response : ${response}" class="panel-body">
                    <form class="form-horizontal m-t">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">回复人姓名：</label>
                            <div class="form-control-static" th:text="${response.hfrxm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">回复时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(response.hfsj,'yyyy-MM-dd HH:mm')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">回复内容：</label>
                            <div class="form-control-static" th:text="${response.hfnr}">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
</body>
</html>
